import Vue from 'vue'
import VueRouter from 'vue-router'
import Index from '../Index.vue'

Vue.use(VueRouter)

const routes = [
    {
        path: '/',
        //redirect: '/home'
        component: Index
    },
    // {
    //     path: '/home',
    //     component: Index
    // },
]

const router = new VueRouter({
    mode: 'history',
    routes
})

export default router